package com.dc.project.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * TaskFileCommitQuery
 *
 * @author chenxueli
 * @date 2025-03-10 16:37:53
 */
@Schema(title = "任务文件提交" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class TaskFileCommitQuery extends BaseQuery implements Serializable {

    @Schema(title = "任务id")
    private Long taskId;

    @Schema(title = "上传的附件id")
    private Long fileId;

    @Schema(title = "上传的附件路径")
    private String filePath;

    @Schema(title = "提交类型 1=task 2=detail 3=item")
    private Integer type;

    @Schema(title = "提交的目标id")
    private Long targetId;

    @Schema(title = "解析状态 1=未开始 2=文件解析文本成功 3=文件解析文本失败")
    private Integer parseStatus;

    @Schema(title = "解析消息")
    private String parseMessage;

    @Schema(title = "资料所属年份")
    private String year;

    @Schema(title = "资料所属类别")
    private String category;

}
